package com.opensky.module.sys.interfaces.frm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Date;

/**
 * 字典表(表sys_dict)请求参数对象
 *
 * @author 🇨🇳中国印🇨🇳
 * @date 2021-11-23 15:31:37
 */
@ApiModel("表(sys_dict)实体类保存Frm 传ID则更新，不传ID则新增")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysDictSaveFrm {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", example = "'1'")
    private String id;
    /**
     * 父级ID
     */
    @ApiModelProperty(value = "父级ID", example = "1")
    private Long parentId;
    /**
     * 字典名称
     */
    @ApiModelProperty(value = "字典名称", example = "'1'")
    private String name;
    /**
     * 类型。0：字典类别；1：字典项；
     */
    @ApiModelProperty(value = "类型。0：字典类别；1：字典项；", example = "1")
    private Integer type;
    /**
     * 字典码
     */
    @ApiModelProperty(value = "字典码", example = "'1'")
    private String code;
    /**
     * 字典值
     */
    @ApiModelProperty(value = "字典值", example = "'1'")
    private String value;
    /**
     * 状态 0：有效；1：无效
     */
    @ApiModelProperty(value = "状态 0：有效；1：无效", example = "1")
    private Integer status;
    /**
     * 排序值, 越小越靠前
     */
    @ApiModelProperty(value = "排序值, 越小越靠前", example = "1")
    private Integer sort;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "'1'")
    private String remark;
}

